package com.checking.attendance.dao;

import com.checking.attendance.pojo.Leave;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LeaveMapper {
    int deleteByPrimaryKey(String id);

    int insert(Leave record);

    int insertSelective(Leave record);

    Leave selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Leave record);

    int updateByPrimaryKey(Leave record);



    List<Leave> selectByPrimaryAll();

    int teacherUpdateByPrimaryKeySelective(Leave record);

    List<Leave> selectByPrimaryKeyUserIdAll(Leave record);

    List<Leave> queryAllLeavePeople(String courseId);


}